How to determine if object text is underlined and or bold?

I am trying to determine if an object's text is underlined and bold and can not figure it out.

I tried

string s = object."Object Text" Then iterated through the rich texts in string s but this did not seem to work

Also tried: RichText rt = richText(object."Object Text") which gives an error.

Not sure what to do.
TheDrizzle - Fri Jul 08 16:10:22 EDT 2011

Re: How to determine if object text is underlined and or bold?
llandale - Sat Jul 09 18:38:09 EDT 2011

At home so cannot look it up exactly, but its something like this:

RichText rt
bool    isUL, isBOLD
string TextR = richText(obj."Object Text")
for rt in TextR do
{  isUL = rt.underline
   isBOLD = rt.bold
   ...
}

 

  • Loue